formula to calculate safe distance of hydro testing